cmake_minimum_required(VERSION 3.5)

project(dome LANGUAGES C)

add_executable(dome main.c)
include_directories(/usr/local/include)
link_directories(/usr/local/lib)

target_link_libraries(dome xlsxio_write xlsxio_read -lm -latomic)

include(GNUInstallDirs)
install(TARGETS dome
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
